package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 社会兼职
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_social_part_time")
public class USocialPartTime extends Model<USocialPartTime> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 起始日期
     */
	@TableField("start_date")
	private String startDate;
    /**
     * 截止日期
     */
	@TableField("end_date")
	private String endDate;
    /**
     * 工作内容
     */
	@TableField("work_content")
	private String workContent;
    /**
     * 工作单位
     */
	@TableField("work_unit")
	private String workUnit;
    /**
     * 备注
     */
	private String remarks;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getWorkContent() {
		return workContent;
	}

	public void setWorkContent(String workContent) {
		this.workContent = workContent;
	}

	public String getWorkUnit() {
		return workUnit;
	}

	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "USocialPartTime{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", startDate=" + startDate +
			", endDate=" + endDate +
			", workContent=" + workContent +
			", workUnit=" + workUnit +
			", remarks=" + remarks +
			"}";
	}
}
